package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskReceiverDept;
import com.secxiot.provider.task.entity.TaskReceiverDeptExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskReceiverDeptDao {
    long countByExample(TaskReceiverDeptExample example);

    int deleteByExample(TaskReceiverDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskReceiverDept record);

    int insertSelective(TaskReceiverDept record);

    List<TaskReceiverDept> selectByExample(TaskReceiverDeptExample example);

    TaskReceiverDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskReceiverDept record, @Param("example") TaskReceiverDeptExample example);

    int updateByExample(@Param("record") TaskReceiverDept record, @Param("example") TaskReceiverDeptExample example);

    int updateByPrimaryKeySelective(TaskReceiverDept record);

    int updateByPrimaryKey(TaskReceiverDept record);
}